# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=brasero
pkgver=3.12.2
pkgrel=0
pkgdesc="Brasero is a GNOME application to burn CD/DVD"
url="https://wiki.gnome.org/Apps/Brasero"
arch="all !s390x !mips !mips64" # blocked by nautilus-dev
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev gstreamer-dev libxml2-dev glib-dev libsm-dev libice-dev
	libnotify-dev libcanberra-dev nautilus-dev libburn-dev libisofs-dev tracker-dev
	totem-pl-parser-dev gst-plugins-base-dev gobject-introspection-dev intltool
	itstool"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/brasero/${pkgver%.*}/brasero-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="14886e772123f179f79d3172b59e21ced990fd8834cd27e8717eb635a75163c44c1d5084818b53da559a0c2ef25e7c0da4a3a7d3781e2ea74b59cfe98987384f  brasero-3.12.2.tar.xz"
